package com.shop.shopserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.shopcommon.result.Result;
import com.shop.shoppojo.dto.UpdateOrderDTO;
import com.shop.shoppojo.entity.UserOrder;
import com.shop.shoppojo.vo.UpdateOrderVO;


public interface UpdateOrderStatusService extends IService<UserOrder> {
    /**
     * 用户申请取消订单
     * @param updateOrderDTO
     * @return
     */
    Result<UpdateOrderVO> applyCancelOrder(UpdateOrderDTO updateOrderDTO);

    Result<UpdateOrderVO> asyncApplyCancelOrder(UpdateOrderDTO updateOrderDTO, Long userId);
}
